package com.coolwen.utile;

import com.coolwen.entity.Grade;

import java.util.Comparator;

/**
 * Created by user on 2016/9/12.
 */
public class MyComparator implements Comparator<Grade> {

    @Override
    public int compare(Grade o1, Grade o2) {
        return o1.getGrade().compareTo(o2.getGrade());
    }
}
